package com.seu.me.thread.day4.design014;

/**
 * Created by feihu.Mr on 2017/11/23.
 */
public class Main {

    public static void main(String[] args) throws InterruptedException {

        FutureClient fc = new FutureClient();
        Data data = fc.request("xxxxxx");
        System.out.println("请求发送成功!");
        System.out.println("做其他的事情...");

        String result = data.getRequest();
        System.out.println(result);

    }
}
